package com.kiko.education.service.impl;

import com.kiko.education.mapper.UserMapper;
import com.kiko.education.model.User;
import com.kiko.education.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User getByUserID(String id){
        return userMapper.getByUserID(id);
    }
    public User getByID(int id){
        return userMapper.getByID(id);
    }
}
